home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmCreatePulldownMenu.z
/
XmCreatePulldownMenu
Wrap
Text File
|
1998-10-30
|
8KB
|
133 lines
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu - A RowColumn widget convenience
creation function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/RowColumn.h>
WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu(
WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt,
CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu creates an instance of a RowColumn
widget of type XXXXmmmmMMMMEEEENNNNUUUU____PPPPUUUULLLLLLLLDDDDOOOOWWWWNNNN and returns the associated
widget ID.
_p_a_r_e_n_t Specifies the parent widget ID
_n_a_m_e Specifies the name of the created widget
_a_r_g_l_i_s_t Specifies the argument list
_a_r_g_c_o_u_n_t Specifies the number of attribute/value pairs in
the argument list (_a_r_g_l_i_s_t)
Specifies the number of attribute/value pairs in the
argument list (_a_r_g_l_i_s_t). When this function is used to
create the Pulldown menu pane, a MenuShell widget is
automatically created as the parent of the menu pane. If the
widget specified by the _p_a_r_e_n_t parameter is a Popup or a
Pulldown menu pane, the MenuShell widget is created as a
child of the _p_a_r_e_n_t MenuShell; otherwise, it is created as a
child of the specified _p_a_r_e_n_t widget.
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu is provided as a convenience function
for creating RowColumn widgets configured to operate as
Pulldown menu panes and is not implemented as a separate
widget class.
A Pulldown menu pane displays a 3-D shadow, unless the
feature is disabled by the application. The shadow appears
around the edge of the menu pane.
A Pulldown menu pane is used with submenus that are to be
attached to a CascadeButton or a CascadeButtonGadget. This
is the case for all menu panes that are part of a
PulldownMenu system (a MenuBar), the menu pane associated
with an OptionMenu, and any menu panes that cascade from a
Page 1 (printed 10/24/98)
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu((((3333XXXX))))
Popup menu pane. Pulldown menu panes that are to be
associated with an OptionMenu must be created before the
OptionMenu is created.
The Pulldown menu pane must be attached to a CascadeButton
or CascadeButtonGadget that resides in a MenuBar, a Popup
menu pane, a Pulldown menu pane, or an OptionMenu. It is
attached with the button resource XXXXmmmmNNNNssssuuuubbbbMMMMeeeennnnuuuuIIIIdddd.
A MenuShell widget is required between the Pulldown menu
pane and its parent. If the application uses this
convenience function for creating a Pulldown menu pane, the
MenuShell is automatically created as the real parent of the
menu pane; otherwise, it is the application's responsibility
to create the MenuShell widget.
To function correctly when incorporated into a menu, the
Pulldown menu pane's hierarchy must be considered. This
hierarchy depends on the type of menu system that is being
built, as follows:
+o If the Pulldown menu pane is to be pulled down from a
MenuBar, its _p_a_r_e_n_tmust be the MenuBar.
+o If the Pulldown menu pane is to be pulled down from a
Popup or another Pulldown menu pane, its _p_a_r_e_n_t must
be that Popup or Pulldown menu pane.
+o If the Pulldown menu pane is to be pulled down from an
OptionMenu, its _p_a_r_e_n_t must be the same as the
OptionMenu parent.
PullDown menu panes support tear-off capabilities for tear-
off menus through XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnnresources. For a complete
definition of RowColumn and its associated resources, see
XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3).
RRRREEEETTTTUUUURRRRNNNN
Returns the RowColumn widget ID.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmCCCCaaaassssccccaaaaddddeeeeBBBBuuuuttttttttoooonnnn(3), XXXXmmmmCCCCaaaassssccccaaaaddddeeeeBBBBuuuuttttttttoooonnnnGGGGaaaaddddggggeeeetttt(3),
XXXXmmmmCCCCrrrreeeeaaaatttteeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPooooppppuuuuppppMMMMeeeennnnuuuu(3),
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu(3), XXXXmmmmMMMMeeeennnnuuuuSSSShhhheeeellllllll(3),
XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3), and XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu(3).
Page 2 (printed 10/24/98)